package tgc.edu.tms.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.tms.custom.CommonService;
import tgc.edu.tms.entity.CourseCategory;
import tgc.edu.tms.repository.CourseCategoryRepository;
@Service
public class CourseCategoryService extends CommonService<CourseCategory, Integer>{
	@Autowired
	private CourseCategoryRepository CourseCategoryDAO;

	public List<CourseCategory> findtypeortype(String string, String string2) {
		return CourseCategoryDAO.findByTypeOrType(string, string2);
	}
}
